package com.example.vo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;


/***
 * 个人资料
 */
@Data
@Entity
public class UserAccess implements Serializable {
    private static final long serialVersionUID = 4726746873393240658L;

    /**用户名*/
    @Id
    @Column(nullable = false, unique = true)
    private String userId;

    /**手机号码*/
    @Column(nullable = false)
    private String phone;


    /**登录密码*/
    @Column(nullable = false)
    private String loginPassword;


}
